package com.achao.frontdeskmanage.ifeign;


import com.achao.basecommon.entity.MusicCollectDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 描述：收藏夹-fei调用接口
 *
 * @Author：yangchao
 * @CreateDate：2023/2/9 9:58
 */
@FeignClient(name = "backstage-manage",contextId = "musicCollectFeign")
@Component
public interface MusicCollectFeign {

    /**
     * 描述：新增收藏夹-feign接口
     *
     * @Param：musicCollectDO
     * @Returen：Object
     */
    @PostMapping("intoCollectionFeign")
    public Object insertCollectionFeign(@RequestBody MusicCollectDO musicCollectDO);

    /**
     *  描述：查询所有收藏夹feign测试
     *      @Param：null
     *      @Returen：Object
     */
    @PostMapping("/achao/music/after/queryFeignTest")
    public Object queryAllCollect();
}
